<div class="main-container" #wrap>
    <div class="main-content">
        <div class="content-top-bar">
            <div class="main-title">
                {{planName}}
            </div>
            <div class="table-btn-group">
                <button nz-button nzType="primary" *ngIf="pageType !== 'detail'" (click)="download()"><i nz-icon nzType="download"></i>模板下载</button>
                <nz-upload *ngIf="pageType !== 'detail'" [nzAction]="uploadUrl" [nzCustomRequest]="customReq">
                    <button nz-button nzType="primary">
                        <i nz-icon nzType="upload"></i>
                        <span>数据导入</span>
                    </button>
                </nz-upload>
                <button nz-button nzType="primary" (click)="goBack()">返回</button>
            </div>
        </div>

        <div class="main-content-wrap">
            <div class="left-panel">
                <ul nz-menu nzMode="inline" class="hr-statistics-left-menu">
                    <li nz-menu-item
                        *ngFor="let item of leftList; let idx = index"
                        [nzSelected]="idx === 0"
                        (click)="selectedAreaChanged(item.sheet)">
                        {{item.sheet_name}}
                    </li>
                </ul>
            </div>

            <div class="right-panel">
                <div class="right-top-box">
                    <div class="right-content">
                        <iframe [src]="iframeSrc" frameborder="0" style=""></iframe>

                    </div>
                </div>
            </div>
        </div>
    </div>
